import unittest

from config import BASE_DIR
from scripts.ihrm_add import TestIhrmAdd
from scripts.ihrm_login import TestIhrmLogin
from htmltestreport import HTMLTestReport


class TestRunSuire(unittest.TestSuite):
    login_suite = unittest.TestSuite()
    login_suite.addTest(unittest.makeSuite(TestIhrmLogin))
    login_suite.addTest(unittest.makeSuite(TestIhrmAdd))
    runner = HTMLTestReport(BASE_DIR+"/report/ihrm.html")
    runner.run(login_suite)
